/*
package com.github.carter659.spring04;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name="nlp_topic")
public class Topic {

    @Id
    @Column(name = "ID", updatable = false)
    public Long id;

    @Column(nullable = false,name = "TOPIC")
    private String topic;

    @Column(nullable = false,name = "GROUP")
    private String group;

    @Column(nullable = false,name = "HOT_SCORE")
    private Double hotScore;

    @Column(nullable = false,name = "ENT_TIME")
    private Date entTime;

    @Column(nullable = false,name = "UPD_TIME")
    private Date updTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public Double getHotScore() {
        return hotScore;
    }

    public void setHotScore(Double hotScore) {
        this.hotScore = hotScore;
    }

    public Date getEntTime() {
        return entTime;
    }

    public void setEntTime(Date entTime) {
        this.entTime = entTime;
    }

    public Date getUpdTime() {
        return updTime;
    }

    public void setUpdTime(Date updTime) {
        this.updTime = updTime;
    }

    public Topic(Long id, String topic, String group, Double hotScore, Date entTime, Date updTime) {
        this.id = id;
        this.topic = topic;
        this.group = group;
        this.hotScore = hotScore;
        this.entTime = entTime;
        this.updTime = updTime;
    }
}
*/
